﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace MyMeetup.Entities
{

    public class EventReview
    {
        public object time { get; set; }
        public int group_id { get; set; }
        public string event_id { get; set; }
        public int rating { get; set; }
        public string review { get; set; }
        public string member_name { get; set; }
        public int member_id { get; set; }
    }

    [DataContract]
    public class EventReviews
    {
        [DataMember(Name = "results")]
        public List<EventReview> Items { get; set; }
        [DataMember]
        public object meta { get; set; }
    }

}
